package customerEnter.Frame.DaoDataTransmission;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import customerEnter.Frame.Annotation.FrameOneToMay;
import customerEnter.Frame.Annotation.FrameOneToOne;

/**
 * 
 * 类描述： 多個描述類（一對一 一對多）
 * 
 * 
 * 类名称：FramAboutMay
 * 
 * 创建人：dy
 * 
 * 创建时间：2017-10-13 上午10:52:06
 * 
 */
@SuppressWarnings("serial")
public class FramAboutMay implements Serializable {

	List<FrameOneToMay>	frameOneToMays	= new ArrayList<FrameOneToMay>();

	List<FrameOneToOne>	frameOneToOnes	= new ArrayList<FrameOneToOne>();

	public List<FrameOneToMay> getFrameOneToMays() {
		return frameOneToMays;
	}

	public void setFrameOneToMays(List<FrameOneToMay> frameOneToMays) {
		this.frameOneToMays = frameOneToMays;
	}

	public List<FrameOneToOne> getFrameOneToOnes() {
		return frameOneToOnes;
	}

	public void setFrameOneToOnes(List<FrameOneToOne> frameOneToOnes) {
		this.frameOneToOnes = frameOneToOnes;
	}

	public boolean IfSize() {
		boolean bool = false;
		if (frameOneToMays.size() > 0 || frameOneToOnes.size() > 0) {
			bool = true;
		}
		return bool;
	}
}
